home *** CD-ROM | disk | FTP | other *** search
/ 2,000 Greater & Lesser Mysteries / 2,000 Greater and Lesser Mysteries.iso / predict / intimate / install.bat < prev    next >
Encoding:
DOS Batch File  |  1994-06-10  |  7.4 KB  |  246 lines

  1. echo off
  2. rem INSTALL PROGRAM, Ver. 1.00
  3. rem for Intimacy, Shareware Ver. 1.00S
  4. if %1NUL==NUL goto INSTRUCTIONS
  5. if "%1"=="A" goto END1CHK
  6. if "%1"=="a" goto END1CHK
  7. if "%1"=="B" goto END1CHK
  8. if "%1"=="b" goto END1CHK
  9. goto ERROR
  10. :END1CHK
  11. if "%2"=="A" goto END2CHK
  12. if "%2"=="a" goto END2CHK
  13. if "%2"=="B" goto END2CHK
  14. if "%2"=="b" goto END2CHK
  15. if "%2"=="C" goto HARDDISK
  16. if "%2"=="c" goto HARDDISK
  17. if "%2"=="D" goto HARDDISK
  18. if "%2"=="d" goto HARDDISK
  19. if "%2"=="E" goto HARDDISK
  20. if "%2"=="e" goto HARDDISK
  21. if "%2"=="F" goto HARDDISK
  22. if "%2"=="f" goto HARDDISK
  23. goto ERROR
  24. :END2CHK
  25. if "%1"=="%2" goto FERROR
  26. if "%3"=="3" goto FLOPPY
  27. if "%3"=="5" goto FLOPPY
  28. goto ERROR
  29. :HARDDISK
  30. rem HARD DISK ROUTINE
  31. cls
  32. echo HARD DISK INSTALLATION ROUTINE
  33. echo  
  34. echo The files on the single Program Disk will be copied from
  35. echo drive %1 to the sub-directory \INT on drive %2. 
  36. echo  
  37. if exist %2:\int\nul goto NOMDMSG
  38. echo First, the sub-directory \INT will be created on hard drive %2.
  39. echo  
  40. :NOMDMSG
  41. echo To abort, press the CTRL and C keys at the same time and, when prompted,
  42. echo enter Y or
  43. echo  
  44. pause
  45. if not exist %2:\int\nul md %2:\int
  46. %2:
  47. cd \int
  48. copy %1:README
  49. copy %1:README.BAT
  50. echo  
  51. %1:cidisk1
  52. echo  
  53. %1:cidisk2
  54. copy %1:VENDOR.DOC 
  55. copy %1:PACKING.LST 
  56. echo 
  57. goto FINALHDMSG
  58. rem FLOPPY DISK ROUTINE
  59. :FLOPPY
  60. cls
  61. echo FLOPPY DISK INSTALLATION ROUTINE
  62. echo  
  63. if "%3"=="3" goto CONT3
  64. echo The files on the Program Disk will be uncompressed and copied to two 
  65. echo 5 1/4" disks.
  66. goto CONT4
  67. :CONT3
  68. echo The files on the Program Disk will be uncompressed and copied to one 
  69. echo 3 1/2" disk.
  70. :CONT4
  71. echo  
  72. echo To abort, press the CTRL and C keys at the same time and, when prompted,
  73. echo enter Y or
  74. echo  
  75. pause
  76. echo Insert Program Disk into drive %1 and a blank formatted disk
  77. echo into drive %2. (If a single floppy system, insert blank disk
  78. echo into drive %2 when prompted to do so.) Then
  79. echo  
  80. pause
  81. %2:
  82. if "%3"=="5" goto FLOPPY5
  83. copy %1:README
  84. copy %1:README.BAT
  85. echo  
  86. :FLOPPY5
  87. %1:cidisk1
  88. if "%3"=="3" goto FLOPPY3
  89. echo  
  90. echo 
  91. echo Label the disk in drive %2 as "Intimacy, Program Disk"
  92. echo  
  93. pause
  94. echo  
  95. echo Insert another blank formatted disk into drive %2. (If a single floppy
  96. echo system, insert blank disk into drive %2 when prompted to do so.) Then
  97. echo  
  98. pause
  99. %2:
  100. copy %1:README
  101. copy %1:README.BAT
  102. :FLOPPY3
  103. echo  
  104. %1:cidisk2
  105. copy %1:VENDOR.DOC 
  106. copy %1:PACKING.LST 
  107. echo  
  108. echo 
  109. if "%3"=="5" echo Label the disk in drive %2 as "Intimacy, Documentation"
  110. if "%3"=="3" echo Label the disk in drive %2 as "Intimacy, Program Disk"
  111. echo  
  112. pause
  113. goto FINALFLMSG
  114. :ERROR
  115. echo 
  116. cls
  117. echo     ********************** ERROR in Command Line **********************
  118. echo  
  119. echo Re-enter as:                  INSTALL X Y S
  120. goto CONTERR
  121. :INSTRUCTIONS
  122. cls
  123. echo ┌──────────────────────────────────────────────────────────────────┐
  124. echo │                                                                  │
  125. echo │              I N S T A L L A T I O N   P R O G R A M             │
  126. echo │                                                                  │
  127. echo │                              f o r                               │
  128. echo │                                                                  │
  129. echo │                         I n t i m a c y                          │
  130. echo │                                                                  │
  131. echo └──────────────────────────────────────────────────────────────────┘
  132. echo  
  133. echo  
  134. echo The Program Disk contains files in compressed format. The installation
  135. echo program uncompresses the program files and then copies these files
  136. echo to either a hard drive or to a working set of diskette(s) for
  137. echo use on systems with only floppy drive(s). For hard drive systems,
  138. echo the sub-directory \INT is created and then the files from the Program
  139. echo Disk are uncompressed and copied into this sub-directory.
  140. echo  
  141. echo If you are using 5 1/4 inch disks then the program is uncompressed
  142. echo and copied to two diskettes. If you are using 3 1/2 inch disks, then
  143. echo the program is uncompressed and copied to a single diskette.
  144. echo  
  145. pause
  146. cls
  147. echo To begin, enter the command:  INSTALL X Y S
  148. :CONTERR
  149. echo  
  150. echo where X is the source drive letter (A or B) that contains the original
  151. echo diskette and Y is the destination drive (A, B, C, D, E or F) being copied
  152. echo to. S is the size of the destination diskette: 5 for 5 1/4" or 3 for 
  153. echo 3 1/2" and is only required when the destination drive is a floppy.
  154. echo  
  155. echo Do NOT enter a : after any of the letters.
  156. echo  
  157. echo Example 1:                    INSTALL A B 5
  158. echo  
  159. echo uncompresses and copies all the files on the single program disk in drive 
  160. echo A to two 5 1/4" disks in drive B. This example applies for both single and 
  161. echo dual floppy disk only systems. In the case of a single floppy disk system, 
  162. echo you will be prompted when to change diskettes.
  163. echo  
  164. echo Example 2:                    INSTALL A C 
  165. echo  
  166. echo uncompresses and copies all the files on the single program disk in 
  167. echo drive A to the sub-directory \INT on drive C.
  168. echo  
  169. goto END
  170. :FINALHDMSG
  171. %2:
  172. cd \int
  173. cls
  174. echo The installation of Intimacy is now complete.
  175. echo  
  176. echo Whenever you want to run this program, you must first go to the
  177. echo drive and sub-directory:
  178. echo                                 %2:\INT
  179. echo  
  180. echo by entering the DOS commands:
  181. echo                                 %2: (if not already on drive %2)
  182. echo                                 CD \INT
  183. echo  
  184. echo and then enter the command INT to begin the program.
  185. goto COMMONMSG
  186. :FINALFLMSG
  187. cls
  188. echo The installation of Intimacy is now complete.
  189. echo  
  190. echo To start, place the newly created Program Disk in drive %2. Then 
  191. echo from the DOS prompt, type:
  192. echo  
  193. echo                 INT
  194. echo  
  195. echo and press ENTER.
  196. %2:
  197. :COMMONMSG
  198. echo  
  199. echo  
  200. echo The first time you run Intimacy answer Y to the
  201. echo program prompt:  
  202. echo  
  203. echo         "Do you want INSTRUCTIONS (Y/N)?"
  204. echo  
  205. echo This will give you enough information to successfully use the
  206. echo program without reading the manual. When you are ready, the
  207. echo manual will provide additional information that may be helpful.
  208. echo  
  209. pause
  210. cls
  211. echo To make a printed copy of the Intimacy User's Manual, 
  212. if "%3"=="5" echo place the newly created Documentation Disk in drive %2 and
  213. if "%3"=="3" echo place the newly created Program Disk in drive %2 and
  214. echo enter the following command from the DOS prompt:
  215. echo  
  216. echo                INTSMAN 
  217. echo  
  218. echo  
  219. echo To print our full Product Catalog of related numerology programs
  220. echo and books, as well as report samples for each of these programs, 
  221. if "%3"=="5" echo place the newly created Documentation Disk in drive %2 and
  222. if "%3"=="3" echo place the newly created Program Disk in drive %2 and
  223. echo enter the following command from the DOS prompt:
  224. echo  
  225. echo                    CATALOG
  226. echo  
  227. echo  
  228. echo To start the Intimacy program now, 
  229. if not "%3"=="" echo make sure the Program Disk is in drive %2 and 
  230. echo enter the following command from the DOS prompt:
  231. echo  
  232. echo                INT
  233. echo  
  234. echo  
  235. echo Press the Enter key after typing the above commands.
  236. echo  
  237. goto END
  238. :FERROR
  239. echo 
  240. cls
  241. echo     ********************** ERROR in Command Line **********************
  242. echo  
  243. echo              Source and Destination drives must be different
  244. echo  
  245. :END
  246.